import request from '@/utils/request';

export async function getAllDevice(params: any) {
  return request('/api/device/getAllDevice', {
    method: 'POST',
    data: params,
  });
}

export default { getAllDevice };
